package com.estate.business;

import java.io.File;
import java.util.List;

import com.estate.vo.Vo;
import com.estate.vo.impl.AnnouncementVo;
import com.estate.vo.impl.LawsVo;
import com.estate.vo.impl.UserInfoVo;

public interface LawsService {

	public boolean addLaw(LawsVo law,File file);
	public List<Vo> getAllLaws(UserInfoVo userInfo);
	public Vo getLaw(int pk);
	public boolean updateLaw(LawsVo law,File file);
	public boolean deleteLaw(LawsVo law);
	public boolean deleteMultiLaws(String delStr);
	
	public boolean updatePost(int id);
	public boolean updateReadNum(LawsVo vo);
}
